package com.aaa.controller;

import com.aaa.entity.LayData;
import com.aaa.service.TRoleMenuService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * (TRoleMenu)表控制层
 *
 * @author yuyongli
 * @since 2022-10-26 09:29:53
 */
@RestController
@RequestMapping("tRoleMenu")
public class TRoleMenuController {
    /**
     * 服务对象
     */
    @Autowired
    private TRoleMenuService tRoleMenuService;


    @PostMapping
    public LayData updRoleMenu(Integer rid,String mids){


        return new LayData(tRoleMenuService.updRoleMenu(rid,mids));
    }

}

